Default Arguments
During a function declaration, parameters can now declare their own default value.
Example Codeplutolocal function write(text = "No text provided.")print(text)endwrite() --> No text provided.write("Hello!") --> Hello!
This code behaves identically.plutolocal function write(text)if text == nil thentext = "No text provided."endprint(text)endwrite() --> No text provided.write("Hello!") --> Hello!